package cn.uce.cc.srv.client;

import com.ymdd.dorado.kernel.configuration.OpenFeign;
import feign.Body;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.Map;

@FeignClient(value = "customerInformationClient", url = "${ics.url}" , configuration = OpenFeign.class)
public interface CustomerInformationClient {

    @RequestLine("POST /api/icscustomerInformationbiz")
    @Body("{body}")
    Map<String,Object> saveByPhone(@Param("body") String phone);
}
